﻿
namespace FShop.DAL{
    using System;

    ///<summary>
    ///The Class Provides properties for common database table operations. 
    ///</summary>
    ///<remarks>
    ///Changes to this file may cause incorrect behavior and will be lost if  the code is regenerated.
    ///Update the <see cref="ProductDal"/> class if you need to add or change some functionality
    ///</remarks>
    public class Product{

#region Private properties

     private System.Int32 pro_id ;
     private System.String pro_name ;
     private System.String pro_intro;
     private System.String pro_image ;
     private System.Boolean pro_status ;
     private System.Int32 pro_totalview ;
     private System.Boolean pro_iscomment ;
     private System.Int32 pro_rate ;
     private System.String pro_content ;
     private System.String pro_keyword ;
     private System.String pro_bigimage ;
     private System.Double pro_price ;
     private System.Int32 cate_id ;
     private System.DateTime pro_createdate ;
     private System.Boolean pro_isdiscount ;
     private System.Double pro_pricediscount ;
     private System.Int32 pro_position ;
#endregion

#region Contructor

    public Product()
      {
              pro_id = int.MinValue;
              pro_name = pro_intro= string.Empty;
              pro_image = string.Empty;
              pro_status = false;
              pro_totalview = int.MinValue;
              pro_iscomment = false;
              pro_rate = int.MinValue;
              pro_content = string.Empty;
              pro_keyword = string.Empty;
              pro_bigimage = string.Empty;
              pro_price = int.MinValue;
              cate_id = int.MinValue;
              pro_createdate = DateTime.MinValue;
              pro_isdiscount = false;
              pro_pricediscount = int.MinValue;
              pro_position = int.MinValue;
      }

#endregion
#region Public properties

      public System.Int32 Pro_ID 
      {

         get
         {
             return pro_id ;
         }
         set
         {
             pro_id = value ;
         }

      }
      public System.String Pro_Name 
      {

         get
         {
             return pro_name ;
         }
         set
         {
             pro_name = value ;
         }

      }
        public System.String Pro_Intro
        {

            get
            {
                return pro_intro;
            }
            set
            {
                pro_intro = value;
            }

        }
      public System.String Pro_Image 
      {

         get
         {
             return pro_image ;
         }
         set
         {
             pro_image = value ;
         }

      }
      public System.Boolean Pro_Status 
      {

         get
         {
             return pro_status ;
         }
         set
         {
             pro_status = value ;
         }

      }
      public System.Int32 Pro_TotalView 
      {

         get
         {
             return pro_totalview ;
         }
         set
         {
             pro_totalview = value ;
         }

      }
      public System.Boolean Pro_IsComment 
      {

         get
         {
             return pro_iscomment ;
         }
         set
         {
             pro_iscomment = value ;
         }

      }
      public System.Int32 Pro_Rate 
      {

         get
         {
             return pro_rate ;
         }
         set
         {
             pro_rate = value ;
         }

      }
      public System.String Pro_Content 
      {

         get
         {
             return pro_content ;
         }
         set
         {
             pro_content = value ;
         }

      }
      public System.String Pro_Keyword 
      {

         get
         {
             return pro_keyword ;
         }
         set
         {
             pro_keyword = value ;
         }

      }
      public System.String Pro_BigImage 
      {

         get
         {
             return pro_bigimage ;
         }
         set
         {
             pro_bigimage = value ;
         }

      }
      public System.Double Pro_Price 
      {

         get
         {
             return pro_price ;
         }
         set
         {
             pro_price = value ;
         }

      }
      public System.Int32 Cate_ID 
      {

         get
         {
             return cate_id ;
         }
         set
         {
             cate_id = value ;
         }

      }
      public System.DateTime Pro_CreateDate 
      {

         get
         {
             return pro_createdate ;
         }
         set
         {
             pro_createdate = value ;
         }

      }
      public System.Boolean Pro_IsDiscount 
      {

         get
         {
             return pro_isdiscount ;
         }
         set
         {
             pro_isdiscount = value ;
         }

      }
      public System.Double Pro_PriceDiscount 
      {

         get
         {
             return pro_pricediscount ;
         }
         set
         {
             pro_pricediscount = value ;
         }

      }
      public System.Int32 Pro_Position 
      {

         get
         {
             return pro_position ;
         }
         set
         {
             pro_position = value ;
         }

      }
#endregion

#region Private methods

#endregion
#region Public  methods

#endregion

  }
}
